//
//  SZTestViewController.m
//  Weibo
//
//  Created by Zahi on 2017/7/23.
//  Copyright © 2017年 Zahi. All rights reserved.
//

#import "SZTestViewController.h"

@interface SZTestViewController ()

@end

@implementation SZTestViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    [self setupPushButton];
    
    
}

- (void)setupPushButton {
    
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem barButtonItemWithTitle:@"PUSH" image:nil target:self action:@selector(pushItemAction)];
}

- (void)pushItemAction {
    
    SZTestViewController *testVc = [SZTestViewController new];
    
    [self.navigationController pushViewController:testVc animated:YES];
}


@end
